Constructors
Link copied to clipboard
constructor(@Nullable icon: @Nullable IconCompat, @Nullable title: @Nullable CharSequence, @Nullable intent: @Nullable PendingIntent)
Construct a new builder for Action object.
constructor(icon: Int, @Nullable title: @Nullable CharSequence, @Nullable intent: @Nullable PendingIntent)
Construct a new builder for Action object.
Functions
Link copied to clipboard
@NonNull
Merge additional metadata into this builder.
Link copied to clipboard
@NonNull
Add an input to be collected from the user when this action is sent.
Link copied to clipboard
Combine all of the options that have been set and return a new Action object.
Link copied to clipboard
@NonNull
Apply an extender to this action builder.
Link copied to clipboard
@NonNull
Creates a Builder from an android.app.Notification.Action.
Link copied to clipboard
@NonNull
Set whether the platform should automatically generate possible replies to add to getChoices.
Link copied to clipboard
@NonNull
From API 31, sets whether the OS should only send this action's PendingIntent on an unlocked device.
Link copied to clipboard
Sets whether this Action is a contextual action, i.e.
Link copied to clipboard
Sets the SemanticAction for this Action.
Link copied to clipboard
@NonNull
Set whether or not this Action's PendingIntent will open a user interface.